void eventDisplay()
{
    //-----User Settings:-----------------------------------------------
    TString InputFile = "test.root";
    TString ParFile = "params.root";
    TString OutFile = "tst.root";

    // -----   Reconstruction run   -------------------------------------------
    FairRunAna *fRun = new FairRunAna();
    FairFileSource *fFileSource = new FairFileSource(InputFile);
    fRun->SetSource(fFileSource);
    fRun->SetSink(new FairRootFileSink(OutFile.Data()));

    FairRuntimeDb *rtdb = fRun->GetRuntimeDb();
    FairParRootFileIo *parInput1 = new FairParRootFileIo();
    parInput1->open(ParFile.Data());
    rtdb->setFirstInput(parInput1);

    FairEventManager *fMan = new FairEventManager();

    //----------------------Traks and points -------------------------------------
    FairMCTracks *Track = new FairMCTracks("Monte-Carlo Tracks");
    // FairMCTracksDraw *Track = new FairMCTracksDraw();
		FairMCPointDraw *TofPoints = new FairMCPointDraw("EtfTofwPoint", kRed, kFullSquare);
		FairMCPointDraw *MwdcPoints = new FairMCPointDraw("EtfMwdcPoint", kGreen, kFullSquare);
		FairMCPointDraw *NWPoints = new FairMCPointDraw("EtfNeutronWallPoint", kBlue, kFullSquare);

    fMan->AddTask(Track);
		fMan->AddTask(TofPoints);
		fMan->AddTask(MwdcPoints);
		fMan->AddTask(NWPoints);

    fMan->Init();
}
